package com.rh.mapper;

import com.rh.entity.Department;
import com.rh.entity.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {
    void addMethod(Employee employee);


    void deleteMethod(Integer empId);


    void updateMethod(Employee employee);


    List<Employee> getMethodAll();

    Employee getMethodAllById(Integer empId);

    Employee getEmployeeAllByEmail(String email);

    void register(@Param("email") String email, @Param("empPassword") String empPassword,@Param("salt")String salt);
}
